package com.example.makerspace;

import com.dtflys.forest.springboot.annotation.ForestScan;
import com.example.makerspace.service.TaskService;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@ForestScan(basePackages = "com.example.makerspace.forest")
@MapperScan(basePackages = "com.example.makerspace.mapper")
public class MakerSpaceApplication {
    @Autowired
    private TaskService taskService;

    public static void main(String[] args) {
        SpringApplication.run(MakerSpaceApplication.class, args);
    }

}
